package com.antoco.operation.bigscreen.model.entity;

import lombok.*;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.sql.Timestamp;

/**
 * 统计实例
 */
@Entity
@Getter
@Setter
@ToString
@Table(name = "tj_ins")
public class TjIns implements AbstractEntity<String>, Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    @Id
    @Column(name = "id", nullable = false)
    private String id;

    /**
     * 统计主题标识
     */
    @Column(name = "tj_zt_id")
    private Long tjZtId;

    /**
     * 生成方式（预留）
     */
    @Column(name = "gen_type")
    private String genType;

    /**
     * ETL任务标识（预留）
     */
    @Column(name = "etl_task_id")
    private String etlTaskId;

    /**
     * 业务操作标识（预留）
     */
    @Column(name = "busi_act_id")
    private String busiActId;

    /**
     * 创建时间
     */
    @Column(name = "gen_time")
    private Timestamp genTime;

    /**
     * 记录状态
     */
    @Column(name = "rec_state")
    private String recState;

}
